<layout name="layout" />

<div class="main-div">
    <form name="main_form" method="POST" action="__SELF__" enctype="multipart/form-data" >
    	<input type="hidden" name="id" value="<?php echo $data['id']; ?>" />
		<input type="hidden" name="old_pic" value="<?php echo $data['pic']; ?>" />
		<input type="hidden" name="old_big_pic" value="<?php echo $data['big_pic']; ?>" />
		<input type="hidden" name="old_mid_pic" value="<?php echo $data['mid_pic']; ?>" />
		<input type="hidden" name="old_sm_pic" value="<?php echo $data['sm_pic']; ?>" />
        <table cellspacing="1" cellpadding="3" width="100%">
            <tr>
                <td class="label">编号：</td>
                <td>
                    <input  type="text" name="code" value="<?php echo $data['code']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">姓名：</td>
                <td>
                    <input  type="text" name="name" value="<?php echo $data['name']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">性别：</td>
                <td>
                    <input  type="text" name="sex" value="<?php echo $data['sex']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">电话号码：</td>
                <td>
                    <input  type="text" name="tel" value="<?php echo $data['tel']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">卡号：</td>
                <td>
                    <input  type="text" name="card_code" value="<?php echo $data['card_code']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">员工类别：</td>
                <td>
                    <input  type="text" name="worker_type" value="<?php echo $data['worker_type']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">员工职位：</td>
                <td>
                    <input  type="text" name="worker_position" value="<?php echo $data['worker_position']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">是否是私教：</td>
                <td>
                    <input  type="text" name="worker_pri_teacher" value="<?php echo $data['worker_pri_teacher']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">是否显示：</td>
                <td>
                    <input  type="text" name="is_show" value="<?php echo $data['is_show']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">显示顺序：</td>
                <td>
                    <input  type="text" name="show_sort" value="<?php echo $data['show_sort']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">头像：</td>
                <td>
                	<input type="file" name="pic" /><br /> 
                	<?php showImage($data['pic'], 100); ?>                </td>
            </tr>
            <tr>
                <td colspan="99" align="center">
                    <input type="submit" class="button" value=" 确定 " />
                    <input type="reset" class="button" value=" 重置 " />
                </td>
            </tr>
        </table>
    </form>
</div>


<script>
</script>